import './App.css';

//rcc 生成类组件
//rsf 生成函数式组件

import React, { Component } from 'react';
import { Route } from 'react-router-dom';


import Index from './views/index';

class App extends Component {
  render() {
    return (
      <div className='app'>

        <Route path='/index' component={Index} />
      </div>
    );
  }
}

export default App;